package com.bricker.laboratorymanagement.business.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bricker.laboratorymanagement.business.entity.SysUser;
import com.bricker.laboratorymanagement.business.model.UserModel;
import com.bricker.laboratorymanagement.business.model.UserSelectModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser> {
    public UserModel getCurrentUser(@Param("id") Long id);


    public List<UserModel> getUserByPage(Page page, @Param("userSelectModel") UserSelectModel userSelectModel);
}